1 link tagged with all of: rag + pydebeziumai + change data capture + langchain
Click any tag below to further narrow down your results
Links
PyDebeziumAI is a Python library that streams row-level changes from Postgres through Debezium into a vector store like Chroma, PGVector, or Milvus, so LangChain and LangGraph retrieval stays current instead of depending on periodic batch reloads. It runs an embedded Debezium JVM, so it needs Java 17+.
- Captures every INSERT, UPDATE, and DELETE from the database write-ahead log and pushes it into the vector store as it happens, avoiding stale RAG results.
- Uses deterministic primary-key document IDs and idempotent upserts, so redelivered events after a restart don't create duplicates.
- Works offline with local sentence-transformers embeddings, with no API key required, and supports Chroma, PGVector, and Milvus backends.
- The README cites roughly 280โ500ms total indexing time, though that figure depends on the embedding model and vector database.